<script>
import HeadAssembly from "@/components/headAssembly.vue";
import CarouselPage from "@/components/carouselPage.vue";

export default {
  name: "indexPage",
  components: {CarouselPage, HeadAssembly},
  data(){
    return{
      show:true
    }
  }
}
</script>

<template>
<div>
  首页
  <button @click="show = !show">切换</button>
  <head-assembly></head-assembly>
  <carousel-page class="carousel"></carousel-page>
</div>
</template>

<style scoped lang="less">
//.carousel{
  //margin-top: -50px;
//}
</style>